﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ManagementSystem.Areas.BMS.Models.Role
{
    public class RoleFunctionModel
    {
        public int id { get; set; }
        public int pid { get; set; }
        public bool isChecked { get; set; }
        public string name { get; set; }

        public string roleId { get; set; }
        public int type { get; set; }
        public List<RoleFunctionModel> child { get; set; }
        public RoleFunctionModel()
        {

        }

        public RoleFunctionModel(int id, int pid, bool isChecked, string name,string roleId,int type, List<RoleFunctionModel> child)
        {
            this.id = id;
            this.pid = pid;
            this.name = name;
            this.isChecked = isChecked;
            this.type = type;
            this.child = child;
            this.roleId = roleId;
        }
    }
}